import {createRouter,createWebHashHistory } from 'vue-router'
import Todo from '../views/todo.vue';

const routes = [
    {
        path:'/',
        name:'Todo',
        component:Todo
    },
    {
        path:"/finished",
        name:'Finished',
        component:()=>import(/* webpackChunkName: "finished" */'../views/finished.vue')
    },
    {
        path:"/add",
        name:"Add",
        component:()=>import(/* webpackChunkName: "add" */ '../views/add.vue')
    },
    {
        path:"/uploadZip",
        name:"uploadZip",
        component:()=>import(/* webpackChunkName: "uploadZip" */ '../views/uploadZip.vue')
    },
    {
        path:"/music",
        name:'music',
        component:()=>import(/* webpackChunkName: "music" */ '../views/music.vue')
    },
    {
        path:"/captrue",
        name:"captrue",
        component:()=>import(/* webpackChunkName: "captrue" */ '../views/captrue.vue')
    },
    {
        path:"/cutLoad",
        name:"cutLoad",
        component:()=>import(/* webpackChunkName: "cutLoad" */ '../views/cutLoad.vue')
    }
    
]
const router = createRouter({
    history:createWebHashHistory(),
    routes
})
export default router